package com.wy.service;

import com.wy.model.Room;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2019/12/216:27
 */
//@FeignClient("wycloud-zk1")
@FeignClient(value="wycloud-zk1",fallback = RoomServiceImpl.class)
public interface RoomService {

    @RequestMapping(value = "/room/list",method = RequestMethod.GET)
    public List<Room> list();
/*
    @RequestMapping(value = "/room/list",method = RequestMethod.GET)
    public ResultCode list(HttpServletRequest request);*/
}
